package com.lz.config.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lz.config.dal.entity.User;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where username = #{str}")
    User getUserByUsername(String username);
}
